package com.manong.bookstore.user.feign;

import com.manong.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("bookstore-search")
public interface SearchFeignService {
	//查询某个用户的订单
	@RequestMapping("/search/order/order/accurate")
	public R accurateOrder(@RequestParam String key, @RequestParam String value);

	//查询某个用户的收藏
	@RequestMapping("/search/user/collect/accurate")
	public R accurateCollect(@RequestParam String key, @RequestParam String value);

//	//查询某个订单的详情
//	@RequestMapping("/search/order/orderdetail/accurate")
//	public R accurateOrderDetail(@RequestParam String key, @RequestParam String value);
}
